<div  class="panel-body res-form" ms-controller="" style="padding: 30px;border:1px #ccc dashed;margin:10px;position: relative;">
    <div ms-attr="{resId:@resInfo.resId}"  ms-if="@selfDelete" class="delete-form" style="position: absolute;right:5px;top:5px;font-size: 20px;cursor:pointer">
        <span class="glyphicon glyphicon-remove" aria-hidden="true" ></span>
    </div>
	<form class="form-horizontal" role="form">
	    <div class="base-property">
        
        </div> 
        <div class="form-group">
            <label for="serviceType" class="col-xs-2 control-label">服务类型：</label>
            <div class="col-xs-4">
                <select class="form-control" name="serviceType" ms-duplex="@resInfo.service.serviceType">
                    <option value="">请选择</option>
                    <option ms-for="($i,el) in @resServiceType" ms-attr="{value:$i}" ms-text="el"></option>
                </select>
            </div>
            <label for="serviceMemo" class="col-xs-2 control-label">备注：</label>
            <div class="col-xs-4">           
                <input name="serviceMemo"  ms-duplex="@resInfo.service.serviceMemo" type="input" maxlength="128" class="form-control">
            </div>
        </div>
        <div class="service-prop-container">
            
        </div>
        <div class="operateProperties" class="panel-collapse collapse" style="margin:0;border:0">
	        <div class="panel-body" style="padding-top:0;padding-bottom:0;">
	            <div style="width: 35%; float: left;padding:5px 10px 0px 40px;">
	                <div class="panel panel-default operateDiv" style="overflow:auto;margin:0;border:0" >
	                    <ul class="ztree operateTree" id=""></ul>
	                </div>
	            </div>
	            <div class="panel panel-default panelContainer" style="float:left;width:65%;padding:15px 0 0 10px;border:0">
	                <div class="panel-body node-panel descPanel"  style="display: block">
	                    <p class="form-control-static descText" style="color: red"></p>                    
	                </div>
	                <div class="panel-body node-panel groupPanel" style="display: none">
	                    <form class="form-horizontal" role="form" >
	                        <div class="form-group ">
	                            <label for="operateName" class="col-xs-4 control-label">分组名称：</label>
	                            <div class="col-xs-8">
	                                <input name="operateName" maxlength="25" type="text" class="form-control readbind writebind">
	                            </div>
	                        </div>
	                        <div class="form-group ">
	                            <label for="operateMemo" class="col-xs-4 control-label">分组说明 ：</label>
	                            <div class="col-xs-8">
	                                <input  type="text" name="operateMemo" maxlength="128" class="form-control readbind writebind">
	                            </div>
	                        </div>
	                    </form>
	                </div>
	                <div class="panel-body node-panel operatePanel" style="display: none">
	                    <form class="form-horizontal" role="form" >
	                        <div class="form-group ">
	                            <label for="operateName" class="col-xs-4 control-label">操作名称：</label>
	                            <div class="col-xs-8">
	                                <input name="operateName" maxlength="25" type="text" class="form-control readbind writebind" >
	                            </div>
	                        </div>
	                        <div class="form-group ">
	                            <label for="operateMemo" class="col-xs-4 control-label">操作说明 ：</label>
	                            <div class="col-xs-8">
	                                <input type="text" name="operateMemo" maxlength="128" class="form-control readbind writebind">
	                            </div>
	                        </div>
	                        <div class="request-test request-test-ws" style="display:none;">
	                            <div class="form-group ">
	                                <label for="request" class="col-xs-4 control-label">请求报文 ：</label>
	                                <div class="col-xs-offset-6 col-xs-2">
	                                    <button type="button btn-test-ws" class="btn btn-default">测试</button>
	                                </div>
	                            </div>
	                            <div class="form-group ">
	                                <div class="col-xs-offset-2 col-xs-10">
	                                    <textarea class="form-control readbind" style="resize:none;"
	                                        rows="5" name="request"></textarea>
	                                </div>
	                            </div>
	                            <div class="form-group ">
	                                <label for="response" class="col-xs-4 control-label">返回报文 ：</label>
	                            </div>
	                            <div class="form-group ">
	                                <div class="col-xs-offset-2 col-xs-10">
	                                    <textarea class="form-control readbind" readonly style="resize:none;"
	                                        rows="4" name="response"></textarea>
	                                </div>  
	                            </div>
	                        </div>
	                        <div class="request-test request-test-http" style="display:none;">
	                            <div class="form-group ">
	                                <label for="request" class="col-xs-4 control-label">请求参数 ：</label>
	                                <div class="col-xs-offset-6 col-xs-2">
	                                    <button type="button" class="btn btn-default btn-test-http">测试</button>
	                                </div>
	                            </div>
	                            <div class="form-group ">
	                                <div class="col-xs-offset-2 col-xs-10">
	                                    <table class="param-list">
	                                    </table>
	                                </div>
	                            </div>
	                            <div class="form-group ">
	                                <label for="response" class="col-xs-4 control-label">返回数据 ：</label>
	                            </div>
	                            <div class="form-group ">
	                                <div class="col-xs-offset-2 col-xs-10">
	                                    <textarea class="form-control readbind" readonly style="resize:none;"
	                                        rows="4" name="response"></textarea>
	                                </div>  
	                            </div>
	                        </div>
	                    </form>
	                </div>
	                <div class="panel-body node-panel paramPanel" style="display: none">
	                    <input type="hidden" name="paramId"/>
	                    <input type="hidden" name="inOut"/>
	                    <form class="form-horizontal" role="form" >
	                            <div class="form-group">
	                                <label for="paramName" class="col-xs-4 control-label">参数名称：</label>
	                                <div class="col-xs-8">
	                                    <input name="paramName" type="text" maxlength="25" class="form-control readbind writebind"/>
	                                </div>
	                            </div>
	                            <div class="form-group">
	                                <label for="paramAlias" class="col-xs-4 control-label">参数别名：</label>
	                                <div class="col-xs-8">
	                                    <input name="paramAlias" type="text" maxlength="25" class="form-control readbind writebind"/>
	                                </div>
	                            </div>
	                            <div class="form-group">
	                                <label for="paramType" class="col-xs-4 control-label">数据类型：</label>
	                                <div class="col-xs-8">
	                                    <select class=" form-control readbind writebind" name="paramType">
	                                        <option value="">请选择</option>
	                                        <option value="object">object</option>
	                                        <option value="array">array</option>
	                                        <option value="string">string</option>
	                                        <option value="integer">integer</option>
	                                        <option value="boolean">boolean</option>
	                                        <option value="char">char</option>
	                                        <option value="double">double</option>
	                                        <option value="file">file</option>
	                                        <option value="date">date</option>
	                                    </select>  
	                                </div>
	                            </div>
	                            <div class="form-group">
	                                <label for="paramTypeLen" class="col-xs-4 control-label">参数类型长度：</label>
	                                <div class="col-xs-8">
	                                    <input  type="text" class="form-control readbind writebind" 
	                                    name="paramTypeLen" maxlength="5" onkeyup="this.value=this.value.replace(/\D/g,'');"/>
	                                </div>
	                            </div>
	                            <div class="form-group">
	                                <label for="paramNullable" class="col-xs-4 control-label">参数是否为空：</label>
	                                <div class="col-xs-8">
	                                    <label class="checkbox-inline">
	                                        <input name="paramNullable" class="readbind toggle" type="checkbox"/>
	                                    </label>
	                                </div>
	                            </div>
	                            <div class="form-group prot-field">
	                                <label for="paramFormat" class="col-xs-4 control-label">数据格式：</label>
	                                <div class="col-xs-8">
	                                    <select class=" form-control readbind writebind" name="paramFormat">
	                                        <option value="">请选择</option>
	                                        <option value="0">plain-text</option>
	                                        <option value="1">json</option>
	                                        <option value="2">xml</option>
	                                    </select>  
	                                </div>
	                            </div>
	                            <div class="form-group">
	                                <label for="maxVal" class="col-xs-4 control-label">最大值：</label>
	                                <div class="col-xs-8">
	                                    <input name="maxVal" maxlength="50" type="text"  onkeyup="this.value=this.value.replace(/[^\d\.]/g,'');"
	                                        class="form-control readbind writebind"/>
	                                </div>
	                            </div>
	                            <div class="form-group">
	                                <label for="minVal" class="col-xs-4 control-label">最小值：</label>
	                                <div class="col-xs-8">
	                                    <input name="minVal" maxlength="50" type="text"  onkeyup="this.value=this.value.replace(/[^\d\.]/g,'');"
	                                        class="form-control readbind writebind"/>
	                                </div>
	                            </div>
	                            <div class="form-group">
	                                <label for="memo" class="col-xs-4 control-label">备注：</label>
	                                <div class="col-xs-8">
	                                    <input name="memo" type="text"  maxlength="128" 
	                                        class="form-control readbind writebind"/>
	                                </div>
	                            </div>
	                        </form>
	                </div>
	            </div>
	        </div>
        </div>
    </form>
</div>                      
